package com.chance.cc.crawler.development.scripts.allfeild;

import com.chance.cc.crawler.core.CrawlerEnum;
import com.chance.cc.crawler.core.script.ScriptContext;
import com.chance.cc.crawler.core.script.crawler.DomainExecuteScript;

/**
 * @author lt
 * @version 1.0
 * @date 2020-11-19 17:54:07
 * @email okprog@sina.com
 */
public class XHSCommonField implements DomainExecuteScript {

    //作者信息
    public static String Field_Author_Red_Id = "author_red_id";
    public static String Field_Author_Location = "author_location";
    public static String Field_Author_Desc = "author_desc";
    public static String Field_Author_Fans = "author_fans";
    public static String Field_Author_Follows = "author_follows";
    public static String Field_Author_Collected = "author_collected";
    public static String Field_Author_Gender = "author_gender";
    public static String Field_Author_Notes = "author_notes";
    public static String Field_Author_url = "author_url";
    public static String Field_Author_liked = "author_liked";


    @Override
    public String domain() {
        return "static-filed-domain";
    }

    @Override
    public CrawlerEnum.CrawlerScriptType scriptType() {
        return CrawlerEnum.CrawlerScriptType.crawler;
    }

    @Override
    public void initScript() {

    }

    @Override
    public boolean isExecute(ScriptContext context) {
        return false;
    }

    @Override
    public void beforeExecute(ScriptContext context) {

    }

    @Override
    public void execute(ScriptContext context) throws Exception {

    }

    @Override
    public void afterExecute(ScriptContext context) {

    }

    @Override
    public boolean hasException(ScriptContext context, Throwable exception) {
        return false;
    }
}
